<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 解构数组
    let arr = [1,2,3,4,5];
    console.log(...arr);

    let [a,b,c,d,e] = arr;
    console.log(a,b,c,d,e);
</script>
</body>
</html>
